package com.jxdinfo.hussar.cloud.module.example.tjjc.towerhistorycount.model;

import com.jxdinfo.hussar.platform.core.base.entity.BaseEntity;
import org.apache.ibatis.type.Alias;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * 塔机历史统计实体类
 */
@Alias("tjjc.towerhistorycount.TowerHistoryCount")
@TableName("tower_history_count")
public class TowerHistoryCount implements BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    @TableId("ID")
    private String id;

    /**
     * 塔机id
     */
    @TableField("TOWER_ID")
    private String towerId;

    /**
     * 塔机名称
     */
    @TableField("TOWER_NAME")
    private String towerName;

    /**
     * 当日预警数量
     */
    @TableField("WARN_COUNT")
    private Integer warnCount;

    /**
     * 当日报警数量
     */
    @TableField("ERROR_COUNT")
    private Integer errorCount;

    /**
     * 当日累计吊装次数
     */
    @TableField("WORK_NUM")
    private Integer workNum;

    /**
     * 当日工作净时长，单位分钟
     */
    @TableField("WORK_DURATION")
    private Integer workDuration;

    /**
     * 当日日间工作净时长，单位分钟
     */
    @TableField("WORK_DAY_DURATION")
    private Integer workDayDuration;

    /**
     * 当日夜间工作净时长，单位分钟
     */
    @TableField("WORK_NIGHT_DURATION")
    private Integer workNightDuration;

    /**
     * 当日累计吊装重量，单位吨
     */
    @TableField("WORK_WEIGHT")
    private Double workWeight;

    /**
     * 统计日期
     */
    @TableField("COUNT_DATE")
    private LocalDateTime countDate;

    /**
     * 项目编号
     */
    @TableField("TY_PROJECT_CODE")
    private String tyProjectCode;

    /**
     * 创建时间
     */
    @TableField("TY_CREATE_TIME")
    private LocalDateTime tyCreateTime;

    /**
     * 创建人id
     */
    @TableField("TY_CREATE_USERID")
    private String tyCreateUserid;

    /**
     * 创建人
     */
    @TableField("TY_CREATE_USER_NAME")
    private String tyCreateUserName;

    /**
     * 更新时间
     */
    @TableField("TY_LAST_UPDATE_TIME")
    private LocalDateTime tyLastUpdateTime;

    /**
     * 更新人id
     */
    @TableField("TY_LAST_UPDATE_USERID")
    private String tyLastUpdateUserid;

    /**
     * 更新人
     */
    @TableField("TY_LAST_UPDATE_USER_NAME")
    private String tyLastUpdateUserName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTowerId() {
        return towerId;
    }

    public void setTowerId(String towerId) {
        this.towerId = towerId;
    }

    public String getTowerName() {
        return towerName;
    }

    public void setTowerName(String towerName) {
        this.towerName = towerName;
    }

    public Integer getWarnCount() {
        return warnCount;
    }

    public void setWarnCount(Integer warnCount) {
        this.warnCount = warnCount;
    }

    public Integer getErrorCount() {
        return errorCount;
    }

    public void setErrorCount(Integer errorCount) {
        this.errorCount = errorCount;
    }

    public Integer getWorkNum() {
        return workNum;
    }

    public void setWorkNum(Integer workNum) {
        this.workNum = workNum;
    }

    public Integer getWorkDuration() {
        return workDuration;
    }

    public void setWorkDuration(Integer workDuration) {
        this.workDuration = workDuration;
    }

    public Integer getWorkDayDuration() {
        return workDayDuration;
    }

    public void setWorkDayDuration(Integer workDayDuration) {
        this.workDayDuration = workDayDuration;
    }

    public Integer getWorkNightDuration() {
        return workNightDuration;
    }

    public void setWorkNightDuration(Integer workNightDuration) {
        this.workNightDuration = workNightDuration;
    }

    public Double getWorkWeight() {
        return workWeight;
    }

    public void setWorkWeight(Double workWeight) {
        this.workWeight = workWeight;
    }

    public LocalDateTime getCountDate() {
        return countDate;
    }

    public void setCountDate(LocalDateTime countDate) {
        this.countDate = countDate;
    }

    public String getTyProjectCode() {
        return tyProjectCode;
    }

    public void setTyProjectCode(String tyProjectCode) {
        this.tyProjectCode = tyProjectCode;
    }

    public LocalDateTime getTyCreateTime() {
        return tyCreateTime;
    }

    public void setTyCreateTime(LocalDateTime tyCreateTime) {
        this.tyCreateTime = tyCreateTime;
    }

    public String getTyCreateUserid() {
        return tyCreateUserid;
    }

    public void setTyCreateUserid(String tyCreateUserid) {
        this.tyCreateUserid = tyCreateUserid;
    }

    public String getTyCreateUserName() {
        return tyCreateUserName;
    }

    public void setTyCreateUserName(String tyCreateUserName) {
        this.tyCreateUserName = tyCreateUserName;
    }

    public LocalDateTime getTyLastUpdateTime() {
        return tyLastUpdateTime;
    }

    public void setTyLastUpdateTime(LocalDateTime tyLastUpdateTime) {
        this.tyLastUpdateTime = tyLastUpdateTime;
    }

    public String getTyLastUpdateUserid() {
        return tyLastUpdateUserid;
    }

    public void setTyLastUpdateUserid(String tyLastUpdateUserid) {
        this.tyLastUpdateUserid = tyLastUpdateUserid;
    }

    public String getTyLastUpdateUserName() {
        return tyLastUpdateUserName;
    }

    public void setTyLastUpdateUserName(String tyLastUpdateUserName) {
        this.tyLastUpdateUserName = tyLastUpdateUserName;
    }

    @Override
    public String toString() {
        return "towerHistoryCount{" + "id=" + id + ", towerId=" + towerId + ", towerName=" + towerName + ", warnCount=" + warnCount + ", errorCount=" + errorCount + ", workNum=" + workNum + ", workDuration=" + workDuration + ", workDayDuration=" + workDayDuration + ", workNightDuration=" + workNightDuration + ", workWeight=" + workWeight + ", countDate=" + countDate + ", tyProjectCode=" + tyProjectCode + ", tyCreateTime=" + tyCreateTime + ", tyCreateUserid=" + tyCreateUserid + ", tyCreateUserName=" + tyCreateUserName + ", tyLastUpdateTime=" + tyLastUpdateTime + ", tyLastUpdateUserid=" + tyLastUpdateUserid + ", tyLastUpdateUserName=" + tyLastUpdateUserName + "}";
    }
}
